package com.ajz.manager.entity;

import javax.persistence.Column;
import javax.persistence.Entity;

import com.ajz.common.entity.BaseEntity;

/**
 * 
 * <p>
 * 用户评价
 * </p>
 *
 * @author xyj
 * @date 2018年11月5日
 */
@Entity
public class Evaluate extends BaseEntity<String>{
	/**
	 * 评价发布会员id
	 */
	private Long memberId;
	/**
	 * 被评价人id
	 * 
	 */
	private Long userId;
	/**
	 * 评价内容
	 * 
	 */
	@Column(columnDefinition = "Text")
	private String content;
	/**
	 * 评价分数（总5分）
	 */
	private Integer grade;

	public Long getMemberId() {
		return memberId;
	}

	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getGrade() {
		return grade;
	}

	public void setGrade(Integer grade) {
		this.grade = grade;
	}

}
